Possible to add and persist elements in server config, for use by cons ext?

I'm considering what will be my obstacles if I try to write a console extension that we would use to view excerpts of an application log file, the application of which is deployed to each server in our domain(s). It doesn't log to the WebLogic server log, it writes it to an external log file (through log4j), and each server (several servers on each box) uses a slightly different path to its log file.
One issue that I'll have is getting the console extension to know what the path to the log file is. I think the best way, over all, is just to have the user enter the path in the form presented by the console extension. My problem is how to persist that setting, because I'd prefer they didn't have to enter that every time they entered the form.
Several years ago, I wrote a console extension for WL 8.1.4 which had a similar issue. I ended up simply writing the setting into a properties file inside the extension WAR. This only works (I believe) if the WAR is deployed exploded. I could do that, but I don't like that idea very much.
What would be nice is if I could "extend" the server config.xml with an additional element in the "Server" element, where I could store this information. Unfortunately, I don't see any support for doing something like that.
Another alternative I'm considering is whether it's possible to extend the "Summary of Log Files" page in "Diagnostics" with an application-specific log file, but I don't see any way to do that.

Well, I appreciate the suggestion, but it's not exactly a secret, to me at least. I've used it for human-readable things recently. It occurred to me that that might be my only option, but I certainly wasn't going to assume that. As it seems like this is likely my only option, I guess I can see some interesting conventions for dealing with this. You have to assume that the field could be written to by other code, and that code would have to make the same assumption. I guess I'd have to define a certain XML element as the root of my structure. If I find it, that region between the start and end element is mine to use and modify. If I don't find it, I'll insert my element at the end of the field value.

Similar Messages

  • Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Hi,
    I had the same problem with
    "java.lang.NullPointerException at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.ViewContainerUIElementAdapter.getContent(ViewContainerUIElementAdapter.java:98)"
    when I included ViewUsages dynamically in an action handler (outside wdDoInit()).
    The code below fixed that problem.
    This code creates a new OutboundPlug for the embedding view with the embedded view as target and fires the plug.
    <i>// Create OutboundPlug
    IWDOutboundPlugInfo outboundPlug = embedderViewInfo.createOutboundPlug();
    //Create navigation link
    rootViewUsage.createNavigationTarget(outboundPlug.getName(), interfaceViewUsage, "Default");
    // fire navigation link
    wdThis.wdGetAPI().firePlug(outboundPlug, Collections.EMPTY_MAP);
    </i>
    I hope I could help you. Probably you don't need the information anymore, but perhaps anybody else has the same problem.
    Regards, Alex

  • Is possible to add 2 conditions in a view that is used from an extractor?

    Hi alls.. that´s my question:
    Is possible to add 2 conditions in a view that is used from an extractor?
    I have an extrator in R/3 that´s a table view, so i want that this filter from 2 differents fields when this has the same value.
    For example:
    filter when FIELD1 = ZZ or when FIELD2 = ZZ .
    ..different fields, but the same type of data and value!
    is it possible?
    When i trying to activate the view, then show me an error that this is impossible to do.
    Help me..please!!!
    TY

    The error is :
    Only be able to 'OR' connects for the same fields.
    You are trying to connect with 'OR' select conditions from differents fields.
    (sorry but the sistem is in another language ---> not english)

  • Is it possible to add an RSS feed to a blog created using web apps?

    Is it possible to add an RSS feed to a blog created using web apps? Can RSS feeds be used for items other than an actual blog?

    No, but you have an RSS feed of your blog anyway and you can set an RSS feed for your web app if you want as well.Business Catalyst Help | Create RSS feeds

  • Is it possible to add highlighted text in an iBooks interactive textbook using VoiceOver?

    Is it possible to add highlighted text in an iBooks interactive textbook using VoiceOver?

    The only way you can add read aloud to an ibook is by using easy epub code editor. (Go to itunes and look it up). This app works on the ipad and is the ONLY app that can generate smil/xml code for read aloud. The only thing is that you cannot use it on anything but a raw epub file. You cannot use it with ibooks author or with any other file. Hope this helps.

  • I upgraded from Photoshop Elements 6 to 12.  But 12 doesn't include Arno Pro or Rockwell fonts. How do I add them to Elements 12 without paying for them again?

    I upgraded from Photoshop Elements 6 to 12.  But 12 doesn't include Arno Pro or Rockwell fonts. How do I add them to Elements 12 without paying for them again?

    https://www.google.com/search?q=Arno+Pro+or+Rockwell+font&oq=Arno+Pro+or+Rockwell+font&aqs =chrome..69i57&sourceid=chrome…
    https://www.google.com/search?q=Arno+Pro+or+Rockwell+font&oq=Arno+Pro+or+Rockwell+font&aqs =chrome..69i57&sourceid=chrome…

  • Is it possibleto buy iphione 5s and an ipad air from US for use in Zimbabwe?

    Is it possible to buy an iphone 5s and an ipad air from US for use in Zimbabwe?

    iPhones sold at less than full price are locked to a wireless carrier
    and in the US you are agreeing to a 2 year contract with that wireless
    carrier. Such iPhones will only work with the wireless carrier to which
    they are locked, and only that carrier can unlock the iPhone.
    Be advised that Apple sells 2 types of iPhones at the same price-
    one is contract free meaning the iPhone is locked to a wireless provider
    but no 2 year contract is required, and the other is unlocked meaning it
    can be used with any wireless provider that uses the same bandwidths
    and protocols as the iPhone supports.
    If you purchase an iPhone from the US, the warranty will be valid only in
    the US. Should a problem arise, you would have to personally bring the
    iPhone to Apple in the US or send it to a friend/relative in the US to take in.
    Apple does not accept international shipments for evaluation nor will Apple
    ship out of the country after repair. A US purchased iPhone will not work
    with LTE/4G outside of North America. But your iPhone locally to avoid
    these problems.

  • I am using an expense tracker and when I export the file for use it says it is in location /var/mobile/applications/666E-4BC6-8FF1-50CAD35FA541/documents/MyExpenses.csv where do I find this? Assistance greatly appreciated

    I am using an expense tracker and when I export the file for use it says it is in location /var/mobile/applications/666E-4BC6-8FF1-50CAD35FA541/documents/MyExpenses.csv where do I find this? Assistance greatly appreciated

    Attached is Dennis Linam’s Audition – “Log File” and “Log – Last File”
    Contact information Dennis [email protected]
    Previous contact information with your organization (DURIM):
    Dennis - i just finished my audition trial and bought the subscription the 2014 version.
    created by durin in Audition CS5.5, CS6 & CC - View the full discussion 
    DURIM - Okay.  I would expect the "Cache Warning" message because your default directories would not be the same as the ones in the settings file I generated.
    If you go back to the "7.0" directory and open the "Logs" folder, can you copy the "Audition Log.txt" file and send it as an attachment to [email protected]?  We'll take a look in that logfile and see if it gives us more information about why this is failing now.
    Also, do you have any other Adobe applications installed on this machine, such as Premiere Pro?  If so, do they launch as expected or fail as well?
    I do have the trial Pro version of Adobe reader, but I have not activated it, because I fear the same thing will happen did it. I cannot afford to activate the subscription for that product and take the chance of it not working either. I depend on those two programs religiously. Here is the files that you requested. I appreciate any help you can give me to get this audition program started
    Audition Log- file
    Ticks = 16       C:\Program Files (x86)\Common Files\Adobe\dynamiclink\7.0\dynamiclinkmanager.exe
    Sent from Windows Mail

  • Javascript array ;Add and remove elements without using push and pop

    Hi
     I need to perform add and remove  operation in Javascript with following scenarios
    i) Add element, if element does not exist in array(javascript)
    ii) Remove element, if element exist in array(javascript)
    Without using push and pop method how to achieve this?
    Regards
    Siva

    Completed the Scenario.

  • Add Bulk Users to Project Server 2010 site using a Script

    I have 100 users that I need to add to a Project Server 2010 site. Add these through server settings would take a week to do. Is there a way to add users in bulk like with a script or something that can pull from an CSV
    Thank you for your help!

    Hi,
    I am not sure if I got your question?
    If you want to add these users to a site of a specific project, just add them as team members to this project. This will provide read access to them. If you assign them to a task within this project, they will alos get write access in this site.
    If you want to add this users as Project Server resources and users and just have a list of them, you can use copy/paste. Go to Resource Center and click on Open. Project client will start with checked out Enterprise Resources. Add columns Windows User Account,
    Email Address, and all other fields you want to fill. Make sure that the columns and the sequence of columns does match the columns in your file. Use copy/paste to insert all users into Project. Save and Close. Use Option Bulk Edit, if you want to define
    eg Timesheet Manager. As a last step go to Server Settings - Manage Groups and add them to the appropriate groups.
    Does this answer your question?
    Barbara

  • Using VI server from DIAdem script :: Syntax (documenta​tion) for properties and methods of VI Server objects (for non-labvie​w programmer​s)

    Hello all,
    I am using DIAdem 10.0 Advanced, LabVIEW 8.0 PDS. I would like to start a LabVIEW IHM from a VBS script. I use VI Server to call my VI from DIAdem.
    Here is the script and the VI I use (VI attached):
    Dim lvapp, vi, viPath, paramName(1), paramVal(1)
    Set lvapp = CreateObject("LabVIEW.Application")
    viPath = "C:\TEST\test.vi"
    Set vi = lvapp.GetVIReference(viPath)
    vi.FPWinOpen = True
    paramName(0) = "Input"
    paramVal(0) = 10
    paramName(1) = "Output"
    paramVal(1) = 0
    Call vi.Call(paramName, paramVal)
    Call lvapp.Quit()
    I found a similar example on your web site.
    Question 1:
    I need to know the syntax for all the other properties and methods of a VI object (method like Get or Set Control Value for example).
    Is a documentation (other than the LabVIEW help which is dedicated for LV programmers) exist in order to be able to use all the features of VI Server from another environment (CVI, VB, ...)?
    Question 2:
    Is it possible to call a VI with VI Server with the parameter "Wait until done" to FALSE? (run a VI asynchronuously from DIAdem)
    Thanks for your answer.
    MatthieuG
    Eurilogic
    Attachments:
    Test.vi ‏9 KB

    Hello,
    I finally found a way to get the documentation of VI Server. I can view the "LabVIEW.TLB" type library file with a OLE/COM Object Viewer (a utility from the Windows SDK).

  • Is it possible to find and Replace a string inside a textfile using JSP?

    FileInputStream fs = new FileInputStream("/opt/Abhishek/software/tomcat/webapps/AMS/listpass");
    DataInputStream in1 = new DataInputStream(fs);
    while (in1.available() !=0)
    String str1=in1.readLine();
    StringTokenizer st1 = new StringTokenizer(str1);
    String node=st1.nextToken();
    if (node.equals(sports))
    String pass=st1.nextToken();
    out.println ("<b>"+sports[i]+" <b>");
    out.println("**Your Required Password**");
    out.println(pass);
    out.println("<br></br>");
    %>
    Hi ,
    I have a text file (named listpass in the above code) inside tomcat-webapps folder containing a node name and its password.You could see the path of the text file at the starting line of the code.The Scene behind the program is once the particular node is clicked the password is retreived for the user against the particular node.What i would need is to change the password in the text file once it is retreived. So i would need to find the password that is retreived recently and change that one with a randomnly generated new password in the text file.
    So can i do this?Is it possible to search for the string in the text file and replace that with a new one using JSP.For your note i am running all my HTML amd JSP inside the same folder where i have the text file in which the string has to be replaced .
    Could anyone give your comments on this please?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Nasty in so many ways.
    First off you shouldn't be doing stuff like this in a JSP. JSPs should just build HTML, use a Servlet and then pass data to a JSP for formatting.
    Web applications are multi-threaded, so you have to consider what happens if several of these transactions come in at the same time, each trying to change the same data file.
    It's not practical to amend text files in place, generally you have to create a new version of the file for each change because if the size of a password changes the subsequent bytes of the file would all need moving.
    Use a database. Databases are designed to deal with these issues and there are perfectly good free ones around like Derby, MySQL and H2.

  • NEED FAST AND BEST JAVAEE 5 SERVER SUPPORT FOR NETBEANS 5.5

    I am using j2ee technology for open source development since j2ee 1.4 sdk. The Sun Application Server 8.1 and 8.2 were bit fine to start with netbeans. But Glassfish seem to be too slow to start and deploy. Can anyone tell me the fastest and best performance app server to use with netbeans 5.5.
    The computer specs are
    PIII 500 MHz
    512 100/333 MHz SDRAM

    What difference does it make how quick the app server takes to start and deploy?? That's about the most arbitrary criteria for choosing an app. server I've ever heard. Might as well choose based on the colour of the logo!
    Seriously, use whichever one you think you're most likely to encounter. Looking at the spec. of your machine, no app. server is going to run particularly fast. Look into getting a faster machine, or at least a second machine of similar specs to run the server on. Poor thing must be exhausted :-)

  • Server settings for using other pop3/imap applications?

    trying to set up mac mail on my motorola q, and can't quie get the mail to work. What should the setting be:
    For incoming and outgoing server names
    For account name (should it include @and after)
    SSL?
    Thanks

    Hello guys,
    I have found a solution: In ZendFramework/library/Zend/Amf/Response/Http.php  linenumber 59:
    $ssl = $_SERVER['HTTPS']; is given an error.
    I did this:
    $_SERVER['HTTPS'] = 'off';
    $ssl = $_SERVER['HTTPS'];
    So add this line....
    And it works...
    Hope it works for you too.
    Ooh, and don't forget to follow the instruction of TweenOut.
    Erik.
    Van: tweenOut [email protected]
    Verzonden: dinsdag 20 december 2011 18:42
    Aan: EGJ Steens
    Onderwerp: Server settings for remote Server in Flash Builder 4.5 Premium
    Re: Server settings for remote Server in Flash Builder 4.5 Premium
    created by tweenOut <http://forums.adobe.com/people/tweenOut>  in Using Flash Builder - View the full discussion <http://forums.adobe.com/message/4095833#4095833

  • Content Server config for production system - oac0

    Hi all
    We are setting up content server for our ERP 2005 system, and I am wondering what best practice is for our scenario.
    We have one content server (CST) for development and test systems on host A, and one content server (CSP) for production system on host B. The Archive link configuration in dev and test points to CST. When this is transported to production, it will point to the wrong content server and I will have to reconfigure the archivelink in production to point to the correct content server (CSP).
    What is the best way to set up the production system to point to the content server CSP on host B? Should I define a new content repository in t-code oac0 in dev, and transport this to production? Should I define the new repository directly in production system??
    Please advise.
    Best Regards,
    Thomas

    Hello,
    I had the same problem a few years ago with R/3 4.7.
    I don't think there is a perfect solution but here is what I did :
    In the DEV system, in OAC0, I created 2 content repositories, one for the test sytem and one for the production. I transported these 2 content repositories in the production system.
    In the DEV system, in OAC3, I created temporary links from my business objects to my production content repository. I released the request order.
    Then I deleted these links which are wrong in the DEV system. I transported the order in the R/3 production system where these links are right.
    In the DEV system, in OAC3, I then created  the links from my business objects to  my TEST content repository. I released the second request order.
    So my config is now OK in my test and my production system.
    When we refresh the DEV system by a database copy from the production system. We just have to reimport the test request order to switch the links to be OK on the DEV system. We don't have to recreate the test content repository as it was defined als oi nthe production system.
    I am not sure that this is clear but this works for us with no problems since 2002.
    I hope this helps.
    Olivier

Maybe you are looking for

  • Will not print

    After installing the Mac OS 10.4.9 update, neither of my printers work with my iMac. I tried them with my dad's HP laptop and they work fine, which sort of raises the question of why they won't work with my recently updated mac. Both of my printers (

  • No warning before deleting account?

    We all know the consequences of deleting a POP account in Mail. You're supposed to get a stern warning, which I assume some people misunderstand or click-through. However, in the last week or so, I've gotten two reports from 10.4x users that NO warni

  • Share Point Problems

    I have recently cleaned a volume and recreated my share points. The way they worked before, a user of a group could create a directory and others in the group could read and write to it. Pretty straight forward stuff. Now, no matter what I do the fol

  • Where data are stored ?

    Hi I have SD card where i have installed Firefox, i also moved the profile to that SD to be stored there. Are there any other information stored on basic disc C:\ or Temp... when i use firefox / like history, favourites etc? The target of my question

  • Not enough memory space..PLEASE HELP ME.

    Hi, I wanted to update my iPod nano, but it says there isn't enough space. I have too many songs on my itunes. How can I update it without having to delete some of my songs? I have two podcasts, so I think that is what is taking up the room. I just w