Where is the correct place to put a property file to be read by bpel ?

Hi.
I need to create a custom property file and configure SOA Suite to load it as it's own resource during its start. So i can read this property file from my BPEL embedded activity with some code like this:
Properties prop = new Properties();
InputStream in = getClass().getResourceAsStream("foo.properties");
prop.load(in);
in.close()
Avoiding the use of the FileInputStream (constant IO, fixed paths..).
Is there some default place to put this file ? I have tried to put it under applib and configure this directory as a shared-library directory but without success.
I'm using SOA Suite 10.1.3.5 with OC4J.
Thanks.

Properties can also be defined in and read from bpel.xml. you can define token with any name and define the value for it. In your configuration you can use tokens and at run time it will read the values from bpel.xml.
Thanks,
Vikas Manchanda

Similar Messages

  • Where is the best place to put custom functions?

    Hi,
    I have a composition which has a number of symbols. I have to call some custom methods externally and was wondering where is the best place to put the custom methods?
    I have seen posts that I should put the code in the CompositionReady event of the stage but I would like to put it a bit closer to the symbol.
    Is this the best place?
    Sham.

    Here is a case:
    It's a good idea if you well understand global and local variables.
    About complete event, you are right.

  • Where is the best place to put cfqueries?

    Where is the best place to put cfqueries, in the <head> </head> or before the html tag? Thanks

    So before the doctype tag? Thanks
    I just doesn't really matter.  the doctype, head, body, etc only matter to the browser; the CF tags only matter to CF.  The browser doesn't see the CFML, and CF doesn't care about the mark-up one bit: it just ignores it.
    The best place - as I said - is not in the same file at all.  But if you insist on slapping your business logic in with your display logic, then the only consideration is that you need to set your variables before you use them.  Other than that: it simply doesn't matter.
    One consideration you might make is - even if it's all thrown into the same one file - at least separate the file itself into sections: have all your CFML code that gets your data at the top, and try to limit the CFML you have mixed in with the mark-up, eg: limit it to stuff like loops and conditionals.
    But, seriously, separate your concerns.  Dan's pretty much just wrong when he said it's over-engineering. It's just sloppy to not to write tidy, well-maintained, well-organised code.
    Adam

  • Security issues - where is the correct place to post topics ?

    I am a security consultants. I am not sure where is the correct forums area to post the topics on Security.
    Any suggestions ?
    Thanks
    Andrea

    Hi Andrea,
    If you question is application-specific (including mySAP ERP), you should post your question to the appropriate forum in the SAP Community at www.sap.com/community. If this is a general security question, you can post it in the Web AS General forum in SDN.
    Regards,
    Katie

  • Where is the correct place to suggest a LR feature request?

    My latest attempt brought me to http://feedback.photoshop.com and trying to sign in brought me into an endless loop.

    Some of us theorize that Adobe has enough feature requests and bug reports to last them a lifetime and has therefore made it impossible to register a new ID and sign in... (sorry ).
    Seriously, that (http://feedback.photoshop.com/photoshop_family/topics/new) is the correct place, but there are some problems to be worked out...

  • Where is the best place to put programs to start on X/Openbox startup?

    Hi,
    There are several places to put programs to startup when you start X or a WM.  I'm using Openbox and presently have placed these into my .xinitrc file, but I'm not sure this really the best place.  Openbox has a autostart file, which sorta looks like a better bet.
    Any suggestions would be great.
    Thanks,
    Jon

    Hadn't heard of consolekit; it's not clear to me from looking at their website what it's supposed to be offering? Maybe after it matures more, the documentation will improve, and all will become clear.
    When I used Openbox, I just launched everything such as conky from the Openbox autostart file. I guess if you had a weird set up such as some of your Openbox configs sitting on unmounted partitions, their mount commands would go in .xinitrc, otherwise autostart.sh seems better.
    Just IMO of course, do what you want on your own machine :-)
    Last edited by /dev/zero (2011-10-27 21:04:37)

  • Where is the best place to put music for itunes

    I have just downloaded Itunes
    I have a lot of music I want to add to the Itunes Program
    Where do I store the music I have in the Windows 7 there is a folder called music
    do I place all the folders into this (Music Folder)
    and then have Itunes find the music folder and add them into the program
    Is the best way to do it.
    Over time I will add more songs do I just keep placing them into the music folder and have Itunes fiund the new songs and add?
    I need your assistance
    THanks
    Mike

    iTunes will not find files, you need to add them to your library.
    launch iTunes, go preferences > advanced and verify the copy files ... when adding and keep ... organized options are checkmarked.
    next, look inside the iTunes folder for a subfolder called automatically add to iTunes. drop your music files in there. when iTunes has finished adding the files to your library, you may delete the original files.

  • The best place to put the global parameter

    hello:
    i am now studying the petstore1.3,and find that the global parameters are kept in the servlet context,i wonder if it is a good solution.in my project,i seldom use the servlet context,session context etc,i feel more like to put the global parameter in a singleton that is loaded when the app is started. i don't know where is the best place to put the global parameter,servlet context or singleton?

    thanks for your answer.
    1 do your mean that the singleton can be shared among the different "war"
    packages if both of them are within the same jvm?if yes,must they be in the
    same "ear" package?
    2 if my app is deployed in the weblogic cluster environment,which one can be
    shared? singleton or servlet context?

  • Wdfdevice.h is missing some wpp annotations. Where is the best place to report this?

    I am trying to use the WPP enum annotations in wdfdevice.h but found that many of the enums that are declared with CUSTOM_TYPE in wdftraceenums.h are not annotated with "begin_wpp enum" so the WPP generation step fails.  I'm actually
    building with WDK 1.9 but i checked the include files in 1.11 and 1.13 and they have the same issue.
    The following enums are not annotated in wdfdevice.h but listed in wdftraceenums.h:
    WDF_STATE_NOTIFICATION_TYPE
    WDF_POWER_POLICY_S0_IDLE_CAPABILITIES
    WDF_POWER_POLICY_S0_IDLE_USER_CONTROL
    WDF_POWER_POLICY_IDLE_TIMEOUT_CONSTANTS
    WDF_POWER_POLICY_SX_WAKE_USER_CONTROL
    WDF_POWER_DEVICE_STATE
    WDF_DISPATCH_IRP_TO_IO_QUEUE_FLAGS
    WDF_SPECIAL_FILE_TYPE
    WDF_DEVICE_IO_TYPE
    WDF_FILEOBJECT_CLASS
    WDF_DEVICE_FAILED_ACTION
    WDF_RELEASE_HARDWARE_ORDER_ON_FAILURE
    WDF_REQUEST_TYPE WDF_REQUEST_TYPE
    WDF_POWER_POLICY_IDLE_TIMEOUT_TYPE
    WDF_REMOVE_LOCK_OPTIONS_FLAGS
    Where is the "right" place to report this to MSFT?

    You are completely correct, It seems the CUSTOM_TYPE declarations in wdftraceenum.h are enough. The compile error I got was because I left a commented out line as one of the parameters to my TraceEvents call which apparently the preprocessor didn't like.
    Thanks,
    Eric

  • Where is the best place to buy the new ipad? Please help

    I am ready to buy a new ipad.  There is no apple store in my town but I will be close to one in a couple of days.  My town has Best Buy, Target, and Walmart.  Assuming I can find what I want... in case I have issues with it, where is the best place to purchase from??  (as far as ease of return, etc). Please advise.

    Dah*veed ..... I do not disagree with what you said about the AppleCare+ protection plan as it does state on the website that proof of purchase is required - IF ... You purchase over the phone. Actually, I did not expect to be able to do this over the phone, but as I said I received the paperwork today via email.
    I copied this from the website and I'm typing this on my new iPad so it may come out a little distorted but you can read the sentence at the bottom that says it can be done over the phone with proof of purchase. I gave the rep my serial number, confirmed my address and CC details and the deal was done. I even called back later in the day to make absolutely certain that I did in fact purchase the AppleCare+ plan that has the two incidents of accidental damage included for a $49.00 charge. The rep did in fact confirm that I did buy the correct plan that I wanted and I am looking at the printed paperwork confirming the whole thing.
    Maybe I just got lucky!
    iPad - AppleCare+
    Every iPad comes with one year of hardware repair coverage and 90 days of telephone technical support. AppleCare+ for iPad gives you two years of repair coverage and technical support from the original purchase date of your iPad. And it adds coverage for up to two incidents of accidental damage due to handling of your iPad, each subject to a $49 service fee.1
    How to get AppleCare+
    You must buy AppleCare+ within 30 days of your iPad purchase.
    There are three ways to buy:
    From the Apple Online Store: When you order the new iPad or iPad 2, you’ll have the option to add AppleCare+ to your cart before you check out.
    At an Apple Retail Store (requires a Genius Bar appointment, inspection of the iPad, and proof of purchase).
    By calling 1-800-275-2273 (requires proof of purchase).
    Learn more

  • The better place to put EJB Initialization code

    I have some stateless session beans that need to be initialied from a few sources
    to set
    some internal variabes. Where would be the best place to put this code.
    In the ejbCreate , in a default constructor, or in the setSessionContext method.
    Thanks.

    Thanks.
    Rob Woollen <[email protected]> wrote:
    They're all roughly equivalent.
    When the container wants to create a new slsb instance, it will call
    the
    ctor, setSessionContext, and ejbCreate in that order.
    FWIW, setting initial-beans-in-free-pool to > 0 will instruct the
    container to precreate instances if you're looking to do that as well.
    -- Rob
    Tim Bounds wrote:
    I have some stateless session beans that need to be initialied froma few sources
    to set
    some internal variabes. Where would be the best place to put thiscode.
    In the ejbCreate , in a default constructor, or in the setSessionContextmethod.
    Thanks.

  • I need an Apple SuperDrive 8X Part No. 661-4279 for my MacBook Pro.  Where is the best place to order one?

    I need an Apple SuperDrive 8X Part No. 661-4279 for my MacBook Pro.  Where is the best place to order one?

    Some sites to check out.
    http://www.powerbookmedic.com/Apple-SuperDrive-DVD-Burner-Drive-8x---Macbook-Pro -p-16916.html
    http://www.macpartsonline.com/661-4279-superdrive-8x-double-layer-pata-15inch-2- 2-2-4-2-6ghz-macbook-pro-a1226.html
    http://www.dvwarehouse.com/661-4279-DVD-R/CD-RW-SuperDrive-8x-Dual-Layer-PATA-fo r-MacBook--MacBook-Pro---NEW-p-37374.html
    http://www.welovemacs.com/6614091r.html

  • How do i go about deleting a large number of files at the same time?  where's the easiest place to do it?

    how do i go about deleting a large number of files at the same time?  where's the easiest place to do it?

    A bit vague as to what you intend, but the simple answer is to select all the files you want to delete then either drag to the Trash or CTRL- or RIGHT-click on the selection and choose Move to Trash from the contextual menu.

  • Where's the Best Place....

    Hello once again,
    I have yet to purchase my MBP, and I am wondering from all of your experiences, where is the best place to buy a 1gig 3rd party RAM. Paying all that money for Apple's RAM isn't that way I want to go, but if there's no recommended 3rd party companies, I may need to cough over the bucks...
    thanks,

    Fair enough. I wasn't actually suggesting buying from Crucial.The best source for the 1gb Crucial was Newegg.com at $150 - but this is also for a chip that Apple are supplying as original ram so it's not a bad price. I didn't know Crucial sold Samsung - seems a bit odd as they are owned by Micron who also supply Apple as OEM. Business makes for strange bedfellows:)
    OWC sell their own branded ram for $112 or so and Samsung M470T295CZ3-CE6 (as also supplied by Apple) for $170. What I was saying was that this Samsung chip,
    http://eshop.macsales.com/item/Samsung/53SDR2SAM1GB/
    can be found for as little as $120 - so OWC are a tad expensive for this particular chip if that is the one you were thinking of buying.
    It sounds like you're going for the OWC own brand, so I can't recommend a cheaper source for that and they know a thing or two about ,macs so there's no reason to not trust their judgement.
    Best of luck
    Cheers.

  • Where is the best place for suggestiong requesting features?

    Where is the best place for suggesting/requesting features?
    If something like this already exists, please let me know.
    I often wish when I select a word to right click and choose dictionary to to find out the meaning of the word. Currently I have to copy, go to a dictionary web page, paste and search. And I spent a lot of time for that. I'm not that technically oriented to suggest how this can be achieved but just as an idea, may be Mozilla can partner with dictionary web sites by making a plug ins or include a dictionary with Firefox itself

    I am sure there are Extensions that do this.
    DictionarySearch - https://addons.mozilla.org/en-US/firefox/addon/68/
    Add-on search for Dictionary - https://addons.mozilla.org/en-US/firefox/search/?q=dictionary&cat=all&lver=any&pid=1&sort=&pp=20&lup=&advanced=
    Feedback - http://hendrix.mozilla.org/

Maybe you are looking for

  • Displaying the list of numbers in the box on the screen

    Hi folks, This is what i am looking to achieve, I have an agency number (regulierer -field from jhaga) table Each agency has several advertisers listed to it, in the same table separate field inserent contains the advertiser numbers when I type in th

  • Java not working with 10.6.8 iMac

    Java is no longer working on my intel iMac with Snow Leapord 10.6.8 with Firefox.  This issue has come up when trying to use two different programs that I previously was able to use; Java automatically ran.  I have tried to read previous discussions

  • How to create a folder with java application?

    Hi expert I would like to read some tutorial or manual to understand the logic behind the management of the folder and document from a java application in KM. Anyone could help me? thank you Andrea

  • Something's broken in my iBook...?

    Hey everyone. Something weird happened yesterday, when I turned my iBook on. It has been working perfectly until yesterday, but then.....after I logged in, the screen turned all white and some horizental lines in multiple colors appeared across the s

  • How could force tomcat to stop and start on every build on Ide?

    How could force tomcat to stop and start on every build on Ide?