How to access properties of running workflow 2013 instances?

Hi there,
I am trying to figure out how I can access properties of a running workflow instance. I have created the following PowerShell:
Add-PSSnapin microsoft.sharepoint.powershell
$web = Get-SPWeb http://app-72b5c37f94da1d.apps.sharepoint2013.local/sites/appdev/SharePointWorkflowApp
$wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)
$list= ($web.lists|where Title -eq "List1")
$sub = $wfm.GetWorkflowSubscriptionService()
$subscriptions = $sub.EnumerateSubscriptionsByList($list.ID)
$inst = $wfm.GetWorkflowInstanceService()
$instances= $inst.Enumerate($subscriptions[0])
$instance= $instances[0]
$instance.Status
$instance.UserStatus
$instance.Properties
I am not able to retrieve the arguments or variables via this route. Only UserStatus is a valid working option at this point.
The variables and arguments of the sequence which I have configured via Visual Studio 2013's Workflow Designer, resulted in the following xaml:
  <x:Members>
    <x:Property Name="EenArg" Type="InArgument(x:String)" />
    <x:Property Name="argument1" Type="x:String" />
    <x:Property Name="argument2" Type="InOutArgument(x:String)" />
    <x:Property Name="strArg" Type="InOutArgument(x:String)" />
    <x:Property Name="intArg" Type="InOutArgument(x:String)" />
    <x:Property Name="dateTimeArg" Type="InOutArgument(x:String)" />
  </x:Members>
None of which are propagated via de Properties collection. 
What am I missing here?

Hi,
To access the properties of a workflow instance, here is a blog with code demos for your reference:
http://ranaictiu-technicalblog.blogspot.com/2013/05/sharepoint-2013-workflow.html
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support

Similar Messages

  • How to access a variable in workflow

    Hi All,
    1)Can a user-defined variable be accessed in workflow? If yes,how??
    2) whether or not every idoc function runs in the workflow or only workflow specific functions can be used there?
    (idoc reference guide says nothing abt whether non-workflow functions working under workflowcustomization area)
    3)I am trying to pull all the metadata options (multiselect) options in a variable and then i want that variable (which will now contain a string) to be used as a token .how can i go for it?
    4)where can we see the output of idoc scripts when we write customization scripts in UCM (apart from the reflection of changes happening if the script is proper)
    Thanks in Advance.

    I think what you are saying is that you want to create a token based on the values in a metedata field that is popuated by a multiselect list. This requires that you have a multiselect list where you add user ids to a metadata field
    To do this from the Workflow Admin applet
    Options > Tokens... > Add
    Give the Token a Name and Description and then paste the following into the script area
    You will have to change the value of xReviewers to the name of your custom metadata field.
    <$rsMakeFromString("wfReviewers",xReviewers)$>
    <$loop wfReviewers$>
    <$wfAddUser(wfReviewers.row, "user")$>
    <$endloop$>
    Is this what you need?
    Tim

  • How to access properties of symbols in loaded SWF?

    I'm making the migration from Flash to Flex, but I'm running
    into a dead end on one particular area: accessing and manipulating
    properties of symbols in a loaded SWF.
    The SWF is actually a simple library of a detailed parts
    illustration. I would like to load the entire SWF in position, and
    be able to change the attributes (i.e. colors) of individual
    symbols (or parts of the illustration). I can load, display and
    manipulate each symbol separately, but I need the parts to remain
    in place.
    The original art was created in Illustrator and exported as
    SWF using the symbols palette.
    I can always go back to Flash, but I'm forcing myself to move
    forward and do this project in Flex (baptism by fire!!).
    Is there some sort of dot notation to access the symbols from
    within the SWF, without loading them all separately?
    Let me put this another way: it appears that I can load an
    SWF and then instantiate each symbol in that SWF, and then load
    each symbol to the 'stage' (or whatever it's called in Flex)
    separately.
    I can certainly instantiate each symbol separately, and then
    align it on stage, but it seems to me to be bass-ackward to do it
    that way, expecially since I created the original SWF with
    everything in position.
    Is there no way to access the attributes of the individual
    symbols within an SWF without separately instantiating them?
    I'm just having trouble getting my head around this. Any help
    is greatly appreciated.

    Okay, I took a look at this info and it's what I was already
    doing.
    Here's a simplified example of what I'm trying to do, using
    the example in the swf9.pdf file.
    Let's assume I've created a SWF with a "BlueSquare" movieclip
    (in the symbols panel in Flash, exported for AS). In that clip,
    there is another symbol called "Star". I import the SWF and
    BlueSquare symbols in with the following code:
    <mx:Script>
    <![CDATA[
    [Embed(source=”../assets/circlesquare.swf”)]
    [Bindable]
    public var LogoCls:Class;
    [Embed(source=”../assets/circlesquare.swf”,
    symbol=”BlueSquare”)]
    [Bindable]
    public var LogoClsBlueSquare:Class;
    </mx:Script>
    If I instantiate the BlueSquare on stage, it includes the
    Star symbol when previewed, but I can't figure out how to get at
    the Star symbol to change color. If I apply a color change to the
    symbol, it changes the entire BlueSquare symbol.
    If I instantiate the Star symbol separately, I can then
    position it on the stage and make changes, but that requires
    positioning it with actionscript. I'm trying to not have to
    position a sub-element of my actual artwork because of it's
    complexity.
    I'd like to display the main movieclip (or sprite) with the
    ability to access the attributes of a sub-movieclip or
    sprite.

  • How to access Properties in Custom Crawler

    [Plumtree 5.0.2 / .NET]
    Hi,
    Where in the source code for the NT File Crawler does the accessor (in this case the html accessor) pick up the metadata from the document and input the values into the Plumtree Cards?
    To explain - we are developing a custom crawler that will crawl html formatted files containing metadata about the documents to be indexed, and not crawling the original documents themselves. (I can explain the reasons for this in more detail if relevant)
    One of the values included in this metadata is the location of the original file which I need the crawler to make the ClickThroughURL.
    Rather than parsing the html document myself, I figured the HTML Accessor is already doing the job for me. The field is mapped as a property in the document type for this crawler and I just need to work out how to to access that to replace:
    data.ClickThroughURL = CurrentFile.FullName;
    with:
    data.ClickThroughURL = MY_VALUE_FROM_PROPERTIES;
    I'm struggling a bit through lack of doco but I thought if I could find the section of the code where the crawler sets the properties for each document I'd be able to see how I can access the collection - I'd thought it would be in IDocument.GetMetaData, but I can't spot it.
    I hope this makes sense to someone out there....
    thanksAni

    Hi Clinton,
    I checked PTSpy and it appears to be looking at the right URL, but receiving a 404. PTSpy records the following, (I've changed the server name but it was correct):
    Entering Function CPTUserCookieDatabase::AddHeadersToCookies: parameters: lpctstrDomain = APP_SERVER_WHERE_CRAWLER_LOCATED.hosting.companyname.net; lpctstrObject = /ANITA/DJCustomCrawlerWS/XUIService.asmx; lpctstrHeaders = HTTP/1.1 404 Not FoundServer: Microsoft-IIS/5.0Date: Wed, 02 Mar 2005 03:12:54 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 1530; lCookieSegment = -1;
    I wondered if it's trying to look for "/ANITA/DJCustomCrawlerWS/XUIService.asmx" in the portal server or whether it's looking in the lpctstrDomain where the file actually exists. Would you expect to see a fully qualified URL for lpctstrObject? Either way, as I said there is no 404s recorded in the IIS logs on either servers.
    ==================================
    Back to the question of getting a customized property value from the Crawler. Can you explain a little more about "CrawlerConstants.TAG_PROPERTIES" and what I'm looking for please? I can see that this is getting its value from the web.config key "UseRemoteProperties" which in my instance had the value of "0" i.e. USE_LOCAL.
    The custom property I want to get the value of is called "FileLocation" and when i go to the knowledge directory and check the properties page of the documents I'm crawling the value is right there in the "Customized Properties" exactly as expected whether I've got "UseRemoteProperties" set to 0 or 1 (and it's refreshed any time I change it and re-run the crawl).
    In Document.cs (GetMetaData()) the DocumentMetaData() object is instantiated and the method Put() is used to populate some of the document's property values, and there is the comment that they are overwritten by the accessor depending on the "proper setting in the web.config file" which is the CrawlerConstants.TAG_PROPERTIES that you spoke of.
    So where does the accessor do this? Somewhere, something (the accessor presumably) is writing all the other custom properties to the card. I've tried to use the Get() method for DocumentMetaData:
    data.Get("FileLocation");
    to retrieve the value for the one I'm after but when I write this out to the log it's always blank, the value hasn't been set yet. Where and how can I retrieve this value to update the clickThroughURL with it?
    Thank you again. Please shout if I haven't explained this very well, I'm wondering whether my lack of understanding is making it hard for me to phrase my questions, but I'm getting desperate, I've spent far to much time and money on this.
    Ani

  • How to access properties of swf created with pdf2swf

    Hi all-
    I am new to flex, I have been using pdf2swf to convert
    multi-page pdfs to swf files and then load them in adobe flex. I am
    able to load the files correctly with SWFLoader but not access the
    properties to advance the frames (play, stop). I have been scouring
    the internet for a way to do this that I understand.
    I have tried doing something like:
    var mymovie:MovieClip = MovieClip(myloader.content);
    and then using
    mymovie.play();
    which I can't seem to get to work.
    Has anyone here done this successfully. If so, could you give
    me an example of how this is done?
    Thanks,
    Cameron Bracken

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Embedding asset types:
    You can embed Button and MovieClip symbols in a Flex
    application, but you cannot embed ... Alternatively, if you use the
    SWFLoader control to load the Flex
    Link:
    http://livedocs.adobe.com/flex/3/html/embed_4.html
    BrideL.OrG Blog Archive Importing a SWF into Flex with AS3:
    Jul 4, 2006 ... Just to say thanks for posting the SWFLoader
    example, the ONLY one on the ... controlling frames using the
    movieclip details via SWFLoader.
    Link:
    http://www.bridel.org/?p=9
    All Classes (Flex 3):
    mx.skins.halo, The skin for the border of a SWFLoader or
    Image component when ..... mx.core, FlexMovieClip is a subclass of
    the Player's MovieClip class.
    Link:
    http://livedocs.adobe.com/flex/3/langref/class-summary.html
    Cannot load the SWFLoader content in a movieclip - Flex
    India:
    May 17, 2007 ... implementation of movieClip class in as2 is
    different from as3. ... Im just trying to load a .swf in flex. Im
    using SWFLoader
    Link:
    http://groups.google.com/group/flex_india/msg/85ec872c7d94851a
    S (Flex 3):
    SWFLoader. A flag that indicates whether to scale the content
    to fit the ..... for the content in the browser, such as
    'www.adobe.com' or 'www.example.org'.
    Link:
    http://livedocs.adobe.com/flex/3/langref/all-index-S.html
    SWFLoader gotoAndStop [Archive] - ActionScript.org Forums:
    Jun 27, 2006 ... [Archive] SWFLoader gotoAndStop Flex 2 &
    3. ... Is there any way that it is possible to cast the movieclip
    to flash 9 movieclip?
    Link:
    http://www.actionscript.org/forums/archive/index.php3/t-109586.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

  • How to access properties from portallapp.xml in jsp file

    <b>portalapp.xml</b>
    <property name="SupportUrl" value="http://sapdp1ci.zrh.swissre.com:53000/irj/portal?navigationtarget=navurl://8f7e974723098424468c8ae903228c0e">
              <property name="personalization" value="dialog"/>
              <property name="plainDescription" value="Support Desk Link URL"/>
              <property name="category" value="Navigation"/>
            </property>
    <b>jsp code</b>
    private String getSupportUrl(IPortalComponentRequest request)
         IPortalComponentContext myContext = request.getComponentContext();
         IPortalComponentProfile profile = myContext.getProfile();
         String supportDeskLocation = profile.getProperty("SupportUrl");
         //String supportDeskLocation = (String)request.getNode().getValue(SUPPORT_URL);
         return supportDeskLocation;
    but supportDeskLocation is coming as null.
    Please help me in solving the issue.
    Points will be awarded
    thanks
    bala

    Hi Michal,
    How are you?
    I´m trying to access a property from portalapp.xml and I have in the right place according to your post and here is my code to retrieve it:
    String value = (String)request.getNode().getValue("MyLogoffUrl");
    Did you activated something or did something else so your property could be reached by the JSP?
    It is just returning null in my case.
    Thanx in Advanced!
    Kind Regards,
    Gerardo j

  • How to access multiple database present in single instance

    Hi Team,
    In oracle 11.2, can there be multiple databases in an instance???  In one of our environment, I could see multiple databases in an instance. Could you please help me in giving the data dictionary or query to access those databases?
    Actually, querying v$database, I could see only one database which is same as instance name. But in inventory, there are multiple database in an instance?
    I am still not exactly clear about this. Can someone help me with this?
    Thanks!
    Vidhya

    In Oracle one instance manages one (1) database. A database consists of multiple *schemas*.
    Other vendors erroneously call a schema 'database'.
    So, no, you didn't see multiple databases.
    There is also one datadictionary, consisting of a set of views.
    All views beginning with dba_  list the entire database, all schemas.
    All views beginning with all_ list the objects you have access to.
    All views beginning with user_ list your own objects.
    The view DICT show you the contents of the datadictionary.
    Oracle also has online documentation at http://docs.oracle.com
    From your question it is clear you should read the document called the 'Oracle Concepts Manual'.
    You can find all documentation for 11gR2 here Oracle Database Online Documentation 11g Release 2 (11.2)
    Too many people here don't make any effort to read it. This is probably the reason why you got no response.
    Sybrand Bakker
    Senior Oracle DBA

  • How to get a loop run for 1 instance every time a button is pressed

    I need to get a loop run only once everytime a button is pressed.
    Please help me.

    Read the help built into LabVIEW
    Here's online version of the help: http://zone.ni.com/reference/en-XX/help/371361L-01/glang/event_structure/
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Accessing properties of some other iView through PAR

    Hello Everybody!
    Can anybody tell me how to access properties of other iViews in my PAR code?
    Suppose i have created a PAR file and i want to access some properties of an iView which are made out of some other PAR or may be out of the box. I want to use the other iViews properties in my current new iView. may be i will have to give the PCD Id of the iView and the property name which i want to access..
    Can this be done? if yes then how?
    Urgent help will he appreciated
    Regards
    Gaurav

    Hi Prakash,
    I had tried to change the property by using
    iprofile.setAttributeValue("TCode","VA01");
    iprofile.store();
    but it is not getting reflected in the iview,the iview is running the same TCode described during its creation.
    any other things to be made.
    my requirment is not to change for ever the property .change has to reflect only to the particular user for his session.
    thanks,
    -Krishna

  • How can I access properties in my photo files. I uused to be able to tag my pictures in photo viewer but now it either does not come up when clicked on or it is greyed out or blocked out.

    Why can't I access properties nor add to the tags in picture properties when in photo viewer or at all?

    Not sure why you didn't get it when the other guys did, it seems you want to be sure to point out how stupid my question is instead of trying to make sense of it. I'll reply to clear things up also in hopes you might be a bit more corteous when replying to something you are obviously missing, as two separate individuals have already posted clear answers.
    -Why would you preview in the store if the item is in your library?
    Because there is no preview option in the library, thus my question
    -Find the album, select the first song then press Play.
    As I said in my question, I want a preview from the middle. More often than not it will take time to get to the point where the song actually starts/drops
    -When you decide you like it or not, rate it/add to a playlist then skip to the next song.
    -Preview All is the same as skipping thru all songs on an album.
    No, Preview All is automatically scanning through each song one by one playing an excerpt, it completely different.
    -Something comes up? Run to your Mac?
    I can understand your confusion on this bit - when a song plays that I like, I can return my focus to my mac and rate or add that particular song. You must understand that people listen to music while doing other things, and given the MBP has speakers, it is safe to say I may not be tethered to it with headphones while listening.

  • SP 2013 Running Workflow giving Error - Sorry Something went wrong

    Hi,
    We have publish workflow running on a document and we need to cancel/ terminate it.
    On the workflow Page we can see under the "Running Workflows" , the workflow is running. But when we click on that it gives the Something went wrong error message. As we are not able to goto the workflow status page on UI, we dont get option to
    End the workflow. 
    To Cancel the workflow we tried following things -
    1. Powershell command to get the workflow object and cancel it. But using the powershell command- $listItems.Workflows does not give the instance of this stuck workflow. If we start new workflow on that item , it will get added to the count but this stuck
    workflow does not come under its count. So we are not able to get its instance using powershell and cancel it.
    2. Using client side programming we tried directly passing the workflow instance name and terminate it but it gives the exception that "given key was not present in the dictionary"
    string workflowGuid = "91ee281b-3938-45a5-9bb2-8bd128bfa90c";
    var workflowServicesManager = new WorkflowServicesManager(clientContext, clientContext.Web);
    var workflowInstanceService = workflowServicesManager.GetWorkflowInstanceService();
    WorkflowInstance instance = workflowInstanceService.GetInstance(new Guid(workflowGuid));
    workflowInstanceService.SuspendWorkflow(instance);
    Please let us know how to get rid of this stuck workflows.
    prashant

    Hi Prashant,
    According to your description, my understanding is that you want to cancel the stuck workflows in SharePoint 2013.
    If the workflow is designed in SharePoint, I recommend to go to the Workflow Settings of the document library, click Remove, Block, or Restore a Workflow to remove the workflow with the stuck instances and then republish the workflow from Designer to SharePoint.
    Or you can use the code in the link below to cancel all the workflow instances to see if the issue still occurs:
    http://www.codeproject.com/Articles/679628/Easiest-Way-of-Cancelling-All-S
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can i access properties from APP server through JNLP with ot using JAR

    Hello
    i want to retrive a Properties file from WL-7 app installed location like :bea/home/externalized.properties
    now i want to use this properties file throgh out the application. if any property is changed in "externalized.properties" that could be reflect dynamically in my code.
    So my requirement is :
    The current implementaion is using the JNLP down load the required code which contains the properties in .jar files, i have around 500 properties which are embedded in differnet .jar files with differnt property name. So i want to make all 500 properties to get out side from the jar files. and keep that consolidated properties in a single location and access it dynamically after deployed my ear file in wl7 app server.
    my application is implemented in SWING and EJB now i want to create an ear file which can be deployed any instance or cluster of WL7 app server.
    My Q:
    1. How can i access properties file through JNLP? (not a single property, want to access all properties in externalized.properties)
    2. is thare any known issue with SUN to load properties file through JNLP?
    your help is highly appreciated.
    -Siva

    Hey Thanks for your response,
    My question is Still not answered,
    see infact i have different type of environments to launch my application.
    infact my weblogic is deployed at remote location whihch is installed in linux,
    code is exist in our local system.
    At the time of code build for my local system i'm not able to get the properties from remote WL server,
    so at the time of code compilation and making the EAR file i'm not having this externalized properties file in newly generated EAR file.
    so once i copied my EAR in to WL7 cluster and i'm running the application using startAdminserver.sh, in this script file i'm defining the
    java -DexternalizedProperty=$WL_HOME/externalizedProperty.properties so now i'm able to get this properties to 'externalizedProperty"
    But when i download my application required jars, at this time i does not having the property file in my downloaded JAR files.
    So i want to access the remote properties file in suh sistuation.
    now i'm runnig the application at my local side to launch and Server side as well.
    So i have 2 runtimes 1 is my local and another is my server. In this case using "-DexternalizedProperty" i'm able to get this in server side,
    once control is come to local system it is not able to find this "-DexternalizedProperty" [externalizedProperty].
    Hope now u get my scenario..
    Thanks,

  • Workflow 2013 run weekly

    I have a workflow 2013 that is started by a custom list when the user hits the submit button. I need to have the workflow run on a weekly basis. The timeframe is based upon the start and end dates that the user originally entered into the custom list.
    Thus is there a way to have the workflow run on a weekly basis? Is there some kind of a background workflow 2013 process that can be executed to run the workflow on a weekly basis? In the original workflow, is time a command that will tell the workflow to
    run on a weekly basis?
    Basically can you tell me how to have a workflow 2013 run on a weekly basis based upon start and end dates?

    Hi,
    Please refer to the following article.
    https://bhandariasb.wordpress.com/2013/06/03/start-workflow-from-custom-timer-job/
    or alternate option is you can create a PowerShell Script and use the windows scheduler to schedule the execution of PowerShell script
    http://www.thesysadminhimself.com/2013/09/sharepoint-start-workflow-all-items-powershell.html
    Please
    don't forget to mark it as answered, if your problem resolved or helpful.

  • How to access custom properties in .vm file

    Hi,
    I have created custom property for screen using File -> Project Properties.
    This property apply to one of my screen.
    If I want to access the value of the custom property in .vm.
    How to access that value. I tried using screen.getTest() but it doesn't return anything for me.

    Hi Peter,
    I followed the steps.
    1)created custom property
    2)assign that custom property using right click on screen and assign some value
    eg. custom property name - Test
    and value as "abc"
    i need abc in vm file.following my vm file
    it's not working
    <input type="text" id="a1" name="a1" value="${screen.getProperties().get("Test")}" tabindex="6" size="30" >
    #set ( $value = $screen.getProperties().get("Test") )
    <input type="text" id="a1" name="a1" value="$value" tabindex="6" size="30" >
    #if( ${control.isVisible()})
         #if( ${control.getButtonClass().equals("submit")} )
              <input class="btn" type="button" value="Back" tabindex="#tabIndex()" onclick="javascript:back()">
         #end
         #if( ${screen.getProperties().get("Test").equals("mahesh")} )
         <input class="submit" id="submit" name="submit" type="submit" value="Submit" alt="Submit" tabindex="12">
         #else
    <input class="${control.getButtonClass()}" id="${control.getEncodedID()}" name="${control.getId()}" type="submit" value="${control.getText()}" alt="${control.getText()}" tabindex="#tabIndex()">
         #end
    #end
    #if( ${control.getButtonClass().equals("submit")} )
    </div>
    #end
    Edited by: 848231 on May 18, 2011 3:00 AM

  • PLEASE HELP. How do you access properties files in WEB-INF  and classes directory

    We have a war file that needs to access properties files that are in the WEB-INF directory
    of the war file. We also need to load one of the properties files from the classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjar and a
    war and the libraries both the ejbjar (with a manifest setting the classpath ) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path "WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO properties files
    have been extracted into their appropriate places ( not even those we throw into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves

    The file doesn't have to be extracted from the war. For example, you can place
    test.properties into your app WEB-INF and write a simple JSP to see how it
    works:
    <%
    InputStream in = application.getResourceAsStream("/WEB-INF/test.properties");
    %>
    It will return you a zip inputstream if you deployed your application as a .war.
    Christian Hargraves <[email protected]> wrote:
    I try this, but I get a NullPointerException. The file never actually gets extracted
    from the war. Under tomcat and resin this works great ( that's why I am having all
    of the trouble i am having ), but there are absolutely no properties files in the
    extracted directories for WebLogic deploys. only:
    WEB-INF/some_tmp_dir/WEB-INF/lib
    and then some dynamically generated jor file with all of the classes that would normally
    go in WEB-INF/classes ( all except the properties, of course, which are no where
    to be found. ).
    There has to be some kind of setting I am missing. Please don't make me seperate
    these properties files from the war/ear and then put the path to these properties
    files in the CLASSPATH, changing one step to three steps to deploy!!
    I have found a documented bug where you can't even put the properties files in a
    jar file and that bug will never be fixed for WebLogic 6.1.
    "Dimitri I. Rakitine" <[email protected]> wrote:
    To access files in WEB-INF you can use ServletContext.getResourceXXX("/WEB-INF/filename")
    Christian Hargraves <[email protected]> wrote:
    We have a war file that needs to access properties files that are in theWEB-INF directory
    of the war file. We also need to load one of the properties files fromthe classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjarand a
    war and the libraries both the ejbjar (with a manifest setting the classpath) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path"WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO propertiesfiles
    have been extracted into their appropriate places ( not even those wethrow into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves--
    Dimitri
    Dimitri

Maybe you are looking for

  • Reading from a text file into a 2D array

    How do you read from a text file and put it into a 2D array? Or if someone could guide me to where I can find the information?

  • Itunes recognizes iPad, but doesn't show up a summery bar...

    Hey everyone. I just recently bought an iPad today, and was so eager to get started on using it. I plugged it into my mac, and itunes opens up... that's all it ******* does though! Basically on the devices screen it DOES show the iPad, but when I cli

  • Black background for iBooks

    Recently, I attended a conference and sat next to someone who was using iBook on his iPad and the book had a black background. He explained that he could choose from white, sepia, and black for page backgrounds. I got my own iPad today and downloaded

  • Change Cost Center for 6000 assets at the backend.

    Hi Gurus, Can anyone please explain the process of changing the cost centers for multiple assets at one time? We have to change the CCs for around 6000 assets. Thanks, Tushar

  • I fail to start the sap server with error:Operating system call recv failed

    I fail to start the sap server in SAP R3 Management Console and the message in the syslog was : R/3 Basis System: Operating system call           recv failed (error no. 10053) Is there any one could tell me how to resolve the problem or give me some